<?php

return [
    'menu' => [
        'shop' => [
            'name' => '商户管理',
            'ico' => '&#xe726;',
            'sub' => [
                'shop_withdrawal' => ['name' => '提现记录', 'uri' => '/shop/shop_withdrawal', 'show' => false, 'method' => 'get'],  //index 方法名
                'shop_withdrawaledit' => ['name' => '提现申请', 'uri' => '/shop/shop_withdrawaledit', 'show' => false, 'method' => 'get|post'],
                'shoplist_edit' => ['name' => '添加|编辑商户', 'uri' => '/shop/shoplist_edit', 'show' => false, 'method' => 'get|post'],
                'xpgoodslist' => ['name' => '选品列表', 'uri' => '/shop/xpgoodslist', 'show' => true, 'method' => 'get'],  //index 方法名
                'xpgoodslist_edit' => ['name' => '选品商品', 'uri' => '/shop/xpgoodslist_edit', 'show' => false, 'method' => 'get|post'],
                'goodslist' => ['name' => '商品列表', 'uri' => '/shop/goodslist', 'show' => true, 'method' => 'get'],  //index 方法名
                'goodslist_edit' => ['name' => '添加|编辑商品', 'uri' => '/shop/goodslist_edit', 'show' => false, 'method' => 'get|post'],
                'goodslist_del' => ['name' => '删除商品', 'uri' => '/shop/goodslist_del', 'show' => false, 'method' => 'get|post'],
                'goodsspec_del' => ['name' => '删除商品规格', 'uri' => '/shop/goodsspec_del', 'show' => false, 'method' => 'get|post'],
                'order' => ['name' => '订单管理', 'uri' => '/shop/order', 'show' => true, 'method' => 'get'],  //index 方法名
                'order_goods' => ['name' => '订单商品', 'uri' => '/shop/order_goods', 'show' => false, 'method' => 'get'],  //index 方法名
                'order_status' => ['name' => '订单修改', 'uri' => '/shop/order_status', 'show' => false, 'method' => 'get|post'],  //index 方法名
            ],
            'show' => true,
        ],
        'user' => [
            'name' => '用户管理',
            'ico' => '&#xe726;',
            'sub' => [
                'user' => ['name' => '用户列表', 'uri' => '/user/user', 'show' => true, 'method' => 'get'],  //index 方法名
                'unshopid_str' => ['name' => '绑定|取消绑定', 'uri' => '/user/unshopid_str', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'system' => [
            'name' => '系统管理',
            'ico' => '&#xe726;',
            'sub' => [
                'banner' => ['name' => '商家轮播图', 'uri' => '/system/banner', 'show' => true, 'method' => 'get'],  //index 方法名
                'banner_edit' => ['name' => '添加|编辑轮播图', 'uri' => '/system/banner_edit', 'show' => false, 'method' => 'get|post'],
                'banner_del' => ['name' => '删除轮播图', 'uri' => '/system/banner_del', 'show' => false, 'method' => 'get|post'],
                'cate' => ['name' => '商家分类', 'uri' => '/system/cate', 'show' => true, 'method' => 'get'],  //index 方法名
                'cate_edit' => ['name' => '添加|编辑分类', 'uri' => '/system/cate_edit', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
    ]
];
